home *** CD-ROM | disk | FTP | other *** search
/ PsL Monthly 1993 December / PSL Monthly Shareware CD-ROM (December 1993).iso / prgmming / dos / apl / apltex_.com / APL2C_H.H < prev    next >
Encoding:
C/C++ Source or Header  |  1990-01-28  |  732 b   |  33 lines

  1. /*
  2.      APL2C_H.H - include file for  APL2C fns
  3.      Support for APL2PC to C interface
  4. */
  5.  
  6. #define MK_FP(seg,off) ((char far *)(((long)(seg) << 16) | (off)))
  7.  
  8. struct aplvhdr           /* APL Variable header */
  9.  
  10.   {  int ptr;
  11.      int nb;
  12.      int nelm;
  13.      char type;
  14.      char rank;
  15.      int dimens[64];     /* nbr dimensions */
  16.   };
  17.  
  18. /* Function Prototypes */
  19.  
  20. void rsb(char far *,int,int,int,int);
  21. void wsb(char far *,int,int,int,int);
  22.  
  23. int apl_cs(void);
  24. int svp_getm(int);
  25. int svp_relm(int);
  26.  
  27. void apl_vhdr(struct aplvhdr * );
  28. void vhdr_apl(struct aplvhdr * );
  29. void apl_vfdata(struct aplvhdr * ,char far * );
  30. int peek(int ,int);
  31. void poke(int,int,int);
  32. void mov_mem(char far *,char far *,int);
  33.